package com.hui.modules.sys.model;

public class Menu {

	private Long mid;//菜单id
	private String menuname;//菜单名称
	private Long pid;//父菜单id
	private String remark;//备注
	private String url;//URL
	private String ico;//图标
	private int type;//类型 1=菜单;2=按钮
	private Long createuid;//创建者id
	private String authvalue;//权限值
	private String createtime;//创建时间
	private String updatetime;//修改时间
	private Long roleId;
	
	public Long getMid() {
		return mid;
	}
	public void setMid(Long mid) {
		this.mid = mid;
	}
	public String getMenuname() {
		return menuname;
	}
	public void setMenuname(String menuname) {
		this.menuname = menuname;
	}
	public Long getPid() {
		return pid;
	}
	public void setPid(Long pid) {
		this.pid = pid;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getIco() {
		return ico;
	}
	public void setIco(String ico) {
		this.ico = ico;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	
	public String getAuthvalue() {
		return authvalue;
	}
	public void setAuthvalue(String authvalue) {
		this.authvalue = authvalue;
	}
	public Long getCreateuid() {
		return createuid;
	}
	public void setCreateuid(Long createuid) {
		this.createuid = createuid;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}
	
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	@Override
	public String toString() {
		return "Menu [mid=" + mid + ", menuname=" + menuname + ", pid=" + pid + ", remark=" + remark + ", url=" + url
				+ ", ico=" + ico + ", type=" + type + ", createuid=" + createuid + ", createtime=" + createtime
				+ ", updatetime=" + updatetime + "]";
	}
}
